import immutable from '../lib/immutable';
export const EVENT_TYPE_ALBUM_SHARE = 'EVENT_TYPE_ALBUM_SHARE';// 相册分享
export const EVENT_TYPE_ALBUM_DETAIL = 'EVENT_TYPE_ALBUM_DETAIL';// 相册详情
export const EVENT_TYPE_ALBUM_COMMENT = 'EVENT_TYPE_ALBUM_COMMENT';// 相册评论
export const EVENT_TYPE_ALBUM_HISTORY = 'EVENT_TYPE_ALBUM_HISTORY';// 相册浏览历史
export const EVENT_TYPE_ALBUM_COLLECT = 'EVENT_TYPE_ALBUM_COLLECT';// 相册收藏

const Album = {
    create: function create() {
        return {
            handle: function handle(event, params = immutable.fromJS({})) {
                if (!event || !event.toJS || !params.toJS) return;
                switch (event.get('id')) {
                    case EVENT_TYPE_ALBUM_DETAIL: {
                        break;
                    }
                    case EVENT_TYPE_ALBUM_COLLECT: {
                        break;
                    }
                    default: break;
                }
            },
        };
    },
};
export default Album;
